import http from '@/utils/http'

// 查询在线用户列表
export function list (query) {
  return http({
    url: '/monitor/online/list',
    method: 'get',
    params: http.adornParams(query)
  })
}

// 强退用户
export function forceLogout (userId) {
  return http({
    url: '/monitor/online/forceLogout/' + userId,
    method: 'post'
  })
}
